package com.rick.demo.mywebsocket.entities;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@ApiModel("车端必传参数")
@NoArgsConstructor
@AllArgsConstructor
public class CarParamDTO {

    @ApiModelProperty("客户端设备唯一标识(Device ID)由服务端在激活时生成，激活接口非必填")
    private String dId;

    @ApiModelProperty("厂商唯一标识，用于标识厂商，后续增加定制需求所用。当前取云平台语音交互时的appid")
    private String openId;

    @ApiModelProperty("客户端生成的请求唯一标识；便于后续日志记录分析。")
    private String sId;

    @ApiModelProperty("APISecretUtil.generateSid()方法请求签名，对除sign外所有参数进行签名;")
    private String sign;

    @ApiModelProperty("客户端类型，0-车机, 1-IOS手机，2-Android手机，3-PC，4-服务端API（默认为车机端请求）")
    private String clientType;

    @ApiModelProperty("平台ID")
    private String clientId;
    @ApiModelProperty("车型值")
    private String iss;
    @ApiModelProperty("vin")
    private String vin;
    @ApiModelProperty("APP 版本号")
    private String version;
    @ApiModelProperty("车主 tinyId")
    private String userId;


}
